{extend name="index_layout"/}
{block name="main"}
<form class="layui-form" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">标准号</label>
        <div class="layui-input-block">
            <input type="text" name="gbt" lay-verify="required" autocomplete="off" placeholder="标准号"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">标准中文名称</label>
        <div class="layui-input-block">
            <input type="text" name="name" lay-verify="required" autocomplete="off" placeholder="标准中文名称"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">发布日期</label>
        <div class="layui-input-block">
            <input class="layui-input" id="create_time"
                   value="{$info.create_time}"
                   type="text" name="create_time"
                   placeholder="发布日期"
                   lay-verify="required"
                   autocomplete="off">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">实施日期</label>
        <div class="layui-input-block">
            <input class="layui-input" id="effect_time"
                   value="{$info.go_time}"
                   type="text"
                   name="effect_time"
                   placeholder="实施日期"
                   lay-verify="required"
                   autocomplete="off">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">排序</label>
        <div class="layui-input-block">
            <input type="text" name="sort" lay-verify="required|Number" autocomplete="off" placeholder="排序"
                   class="layui-input">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block" id="is_c3">
<!--            <input type="radio" name="status" {if $data.stock_type==1}checked{/if} value="1" title="即将实施" lay-filter="ccc3">-->

            <input type="radio" name="status"  checked  value="1" title="即将实施" lay-filter="ccc3">

            <input type="radio" name="status"  value="2" title="现行" lay-filter="ccc3">

            <input type="radio" name="status"   value="3" title="废止" lay-filter="ccc3">
        </div>
    </div>

    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use(['yznForm', 'form', 'laydate'], function () {
        var yznForm = layui.yznForm;
        laydate = layui.laydate;
        yznForm.bindevent($("form.layui-form"));

        laydate.render({
            elem: '#create_time,#effect_time' //指定元素
        });
    });
</script>
{/block}